package com.mofang.ticketing.gateway.controller;

import com.mofang.ticketing.common.core.result.Result;
import com.mofang.ticketing.common.core.result.ResultCode;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LGC
 */
@RestController
public class FallbackController {

    @RequestMapping("/error/fallback")
    public Result<Object> fallback() {
        return Result.failed(ResultCode.SERVICE_FALLBACK);
    }


}
